package com.learn.iot.service;

import com.learn.iot.annotation.MyAnnotation;
import com.learn.iot.api.TestInterface;
import org.springframework.stereotype.Component;

@Component("testService")
public class TestService implements TestInterface {

	@MyAnnotation
	@Override
	public void query() {
		System.out.println("query");
		System.out.println("----------------------------");
	}

	@MyAnnotation
	@Override
	public void query1(String s) {
		System.out.println("query1");
		System.out.println("----------------------------");
	}

	@MyAnnotation
	@Override
	public void query2(String s, String k) {
		System.out.println("query2");
		System.out.println("----------------------------");
	}

}
